package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 党员教育对象 party_education
 *
 * @author ruoyi
 * @date 2021-08-06
 */
public class PartyEducation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long peId;

    /** 标题 */
    @Excel(name = "标题")
    private String peTitle;

    /** 路由 */
    @Excel(name = "路由")
    private String peUrl;

    /** 内容 */
    @Excel(name = "内容")
    private String peDescribe;
    /** 内容 */
    @Excel(name = "数量")
    private int peCount;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date peCreatetiem;

    public void setPeId(Long peId)
    {
        this.peId = peId;
    }

    public Long getPeId()
    {
        return peId;
    }
    public void setPeTitle(String peTitle)
    {
        this.peTitle = peTitle;
    }

    public int getPeCount() {
        return peCount;
    }

    public void setPeCount(int peCount) {
        this.peCount = peCount;
    }

    public String getPeTitle()
    {
        return peTitle;
    }
    public void setPeUrl(String peUrl)
    {
        this.peUrl = peUrl;
    }

    public String getPeUrl()
    {
        return peUrl;
    }
    public void setPeDescribe(String peDescribe)
    {
        this.peDescribe = peDescribe;
    }

    public String getPeDescribe()
    {
        return peDescribe;
    }
    public void setPeCreatetiem(Date peCreatetiem)
    {
        this.peCreatetiem = peCreatetiem;
    }

    public Date getPeCreatetiem()
    {
        return peCreatetiem;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("peId", getPeId())
                .append("peTitle", getPeTitle())
                .append("peUrl", getPeUrl())
                .append("peDescribe", getPeDescribe())
                .append("peCreatetiem", getPeCreatetiem())
                .toString();
    }
}